package com.bx.implatform.rabbitmq;//package com.service.totalauth.rabbitmq;

import com.bx.imcommon.model.IMRecvInfo;
import com.bx.imcommon.model.IMUserInfo;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @ClassName: SignUserServiceTest
 * @Description:
 * @Author guochuang
 * @Date 2023/8/9
 * @Version 1.0
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@Slf4j
public class SignUserServiceTest {
    @Autowired
    private MsgProducer msgProducer;

    @Test
    public void dod() {
        IMRecvInfo imRecvInfo = new IMRecvInfo();
        imRecvInfo.setCmd(1);
        imRecvInfo.setData("dsahdiasj");
        imRecvInfo.setSender(new IMUserInfo(1L,0));
        msgProducer.sendSms(imRecvInfo);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>");
    }
}
